//
//  RecommendPopularTravelCell.m
//  QYer
//
//  Created by lanou on 16/8/6.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

#import "RecommendPopularTravelCell.h"

@implementation RecommendPopularTravelCell


//控件赋值
- (void)setContentsWithModel:(RecommendPopularTravelModel *)model {
    [self.photoView sd_setImageWithURL:[NSURL URLWithString:model.photo] placeholderImage:[UIImage imageNamed:@"占位图"]];
    self.titleLabel.text = model.title;
    self.usernameLabel.text = model.username;
    self.viewsLabel.text = model.views.stringValue;
    self.replysLabel.text = model.replys;
}






- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
